<?php
$config->ipdVersion = '1.0.2';

define('TABLE_DEMANDPOOL',   '`' . $config->db->prefix . 'demandpool`');
define('TABLE_DEMAND',       '`' . $config->db->prefix . 'demand`');
define('TABLE_DEMANDSPEC',   '`' . $config->db->prefix . 'demandspec`');
define('TABLE_DEMANDREVIEW', '`' . $config->db->prefix . 'demandreview`');
define('TABLE_ROADMAP',      '`' . $config->db->prefix . 'roadmap`');
define('TABLE_ROADMAPSTORY', '`' . $config->db->prefix . 'roadmapstory`');
define('TABLE_CHARTER',      '`' . $config->db->prefix . 'charter`');

$config->objectTables['demand']       = TABLE_DEMAND;
$config->objectTables['demandpool']   = TABLE_DEMANDPOOL;
$config->objectTables['demandspec']   = TABLE_DEMANDSPEC;
$config->objectTables['demandreview'] = TABLE_DEMANDREVIEW;
$config->objectTables['roadmap']      = TABLE_ROADMAP;
$config->objectTables['charter']      = TABLE_CHARTER;

$filter->charter = new stdclass();
$filter->charter->default = new stdclass();
$filter->charter->default->cookie['browseType'] = 'reg::word';

$filter->demand = new stdclass();

$filter->demand->browse = new stdclass();
$filter->demand->export = new stdclass();

$filter->demand->browse->cookie['requirementModule'] = 'int';
$filter->demand->export->cookie['checkedItem']       = 'reg::checked';

$config->openMethods[] = 'demand.showimport';
$config->openMethods[] = 'story.showimport';

if($config->edition == 'ipd') $config->featureGroup->product = array('roadmap', 'track');
